"""
@File    ：el_login.py
@Author  ：ixiaodu
@Date    ：2024/4/26
@Desc    ：
"""

from selenium.webdriver.common.by import By

byid = By.ID
byname = By.NAME
bycname = By.CLASS_NAME
bytname = By.TAG_NAME
bylink = By.LINK_TEXT
bycss = By.CSS_SELECTOR
byxpath = By.XPATH

# 登录界面元素配置信息
test_url = 'https://192.168.1.16/'
login_username = bycss, '.el-form-item:nth-child(1) .el-input__inner'
login_pwd = byxpath, "//input[@type='password']"
login_btn = bycss, '.el-button'
login_err_info = byxpath, '//h2'
